About MySQL user management, note 1, creating a new user after logging in by the root user creates >> grant all privileges on *. * to [email protected] Identified by "123456" ;//create a new user, the user name is TestUser, the password is 12345
MYSQL adds remote users or allows remote access.Add the remote user admin password as password grant all privileges on *. * TO admin @ localhost identified by \ 'password \ 'with grant option grant all privileges on *. * TO admin @ \ "% \"
Add the remote user admin password passwordGRANTALLPRIVILEGESON ** TOadmin @ localhostIDENTIFIEDBYpasswordWITHGRANTOPTIONGRANTALLPRIVILEGESON ** TOadmin @ % ID add the remote user admin password as password grant all privileges on *. * TO admin @
Install MySQL1. Download the MySQL Installation FileThe following two files are required to install MYSQL:MySQL-server-5.1.7-0.i386.rpm
To download the above two RPM files, locate the "server" and "client programs" items and find the items
Mysql database, remote access to the current mysql database on the server, remote access, do not want to publish the root account, so, created a demo account, allow the demo account to access the shandong database in the mysql database
MySQL tutorial add a remote user or allow remote access to three ways
Log in with the root user, and then:
Grant all privileges the username @ "%" identified by "password" *.* to create;
Flush privileges; * Refresh the content just now *
Format:
Reference blog:Linux Learning CentOS (13) installation and configuration of MySQL database under--centos6.4MySQL multiple ways to change the root passwordBackup and restore of MySQLTroubleshoot MySQL import restore when the problem is garbledMySQL
The database is almost a right-hand person for the service-side developer. Almost every server-side developer has to deal with the database. and MySQL with its open source free, small and easy to use, powerful function of the Chinese database to
Install MySQL1. Download the MySQL Installation FileThe following two files are required to install MYSQL:
MySQL-server-5.1.7-0.i386.rpm To: http://dev.mysql.com/downloads/mysql/5.1.html, open this webpage and click"Linux x86 generic RPM
As far as my current tests are concerned, this vulnerability has two reasons:1. Use the default mysql installation method. The mysql User does not have the permission to access the configuration file/etc/mysql/my. cnf;2. If selinux or apparmor is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.